﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>@ViewBag.Title * Bordspil fyrir alla *</title>
	<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
	<meta name="viewport" content="width=device-width" />
	@Styles.Render("~/Content/css")
	@Scripts.Render("~/bundles/modernizr")
	<script src="~/Scripts/jquery-1.8.2.min.js"></script>
	<script src="~/Scripts/jquery.signalR-1.0.1.min.js"></script>
	<script src="~/signalr/hubs"></script>
</head>
<body>
	<header>
        
	<div class="content-wrapper">
		<div class="login">
			<p class="title-left">@Html.ActionLink("Bordspil.is", "Index", "Home")</p>
		</div>
		<div >
			<section id="login">
			@Html.Partial("_LoginPartial")
			</section>
                <nav> 
                <div class="navmain"> 
				    <ul class="menumain">
					    <li class="btn btn-large">@Html.ActionLink("Heim", "Index", "Home")</li>
					    <li class="btn btn-large">@Html.ActionLink("Leikir", "Games", "Home")</li>
					    <li class="btn btn-large">@Html.ActionLink("Um okkur", "About", "Home")</li>
					    @if(HttpContext.Current.User.Identity.IsAuthenticated)
					    {
						    if(HttpContext.Current.User.IsInRole("Administrators"))
						    {
							    <li class="btn btn-large">@Html.ActionLink("Admin", "Home", "Admin")</li>
						    }
					    }
				    </ul>
                </div>
			    </nav>
            </div>
		</div>   
	
	</header>
	<div id="body">
		@RenderSection("featured", required: false)
		<section class="content-wrapper main-content clear-fix">
			@RenderBody()
		</section>
	</div>
	<footer">
        <div id="footer">
		    <div class="content-wrapper">	
	            <p>Skinkupressan ehf. / powered by Awesome</p>
		    </div>
        </div>
	</footer>
    

	@Scripts.Render("~/bundles/jquery")
	@RenderSection("scripts", required: false)
</body>
</html>
